package traveldream.ejb.usermanagement;

import java.util.List;

import javax.ejb.Local;

import traveldream.ejb.packetmanagement.dto.PacketDTO;
import traveldream.ejb.usermanagement.dto.UserDTO;

@Local
public interface UserMgr {
	
	public long save(UserDTO user);
	
	public void update(UserDTO user);
	
	public void unregister();
	
	public UserDTO getUserDTO();

	public void prenotazione(PacketDTO packetDTO);

	public boolean isBooked(PacketDTO packetDTO);

	public List<Long> ottieniPidsPrenotazioni();
	
}
